﻿<%@ Page Language="C#" MasterPageFile="~/A_LetsDeal-DoanhNghiep/MasterPage.master" AutoEventWireup="true" CodeFile="sanpham.aspx.cs" Inherits="A_LetsDeal_DoanhNghiep_sanpham" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="menu_left">
        <li><a href="#">Danh sách sản phẩm</a></li>
        <li><a href="sanpham_Add.aspx">Thêm sản phẩm</a></li>
</div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<style type="text/css">
.link
{
	text-decoration:none;
}
</style>
<div style="background-color:Black;width:100%;-webkit-border-top-left-radius:10px;-webkit-border-top-right-radius:10px;-webkit-border-bottom-left-radius:10px;-webkit-border-bottom-right-radius:10px">
    <h1 style="font-family:Arial;font-size:larger;color:White;padding-left:10px;">Danh sách sản phẩm</h1>
</div>
<p>Tên sản phẩm<asp:TextBox ID="txt_tensp" runat="server"></asp:TextBox> Tình trạng  
        <asp:DropDownList ID="ddl_tinhtrang" runat="server">
            <asp:ListItem>Open</asp:ListItem>
            <asp:ListItem>Close</asp:ListItem>
            <asp:ListItem>Cancel</asp:ListItem>
        </asp:DropDownList>
        
        <asp:Button ID="bt_timkiem" runat="server" Text="Tìm Kiếm" 
            onclick="bt_timkiem_Click" /></p>
<div >
    <asp:Repeater ID="Repeater1" runat="server" 
        onitemdatabound="Repeater1_ItemDataBound">
    <HeaderTemplate>
    <table width="100%" cellpadding="0" cellspacing="0">
        <tr style="background-color:Black;color:White">
            <td style="width:35%;text-align:center;border-right:solid 1px silver;font-size:small;">Tên sản phẩm</td>
            <td style="width:13%;text-align:center;border-right:solid 1px silver;font-size:small;">Giá bán</td>
            <td style="width:13%;text-align:center;border-right:solid 1px silver;font-size:small;">Tình trạng</td>
            <td style="width:13%;text-align:center;border-right:solid 1px silver;font-size:small;">Đã bán/Số lượng bán</td>
            <td style="width:13%;text-align:center;border-right:solid 1px silver;font-size:small;">Danh sách</br>bình luận</td>
            <td style="width:13%;text-align:center;font-size:small;">Lợi nhuận</td>
        </tr>
    </HeaderTemplate>
    <ItemTemplate>
        <tr style="color:Blue">
            <td style="border-bottom:solid 1px silver;"><font size="-1"><asp:HyperLink ID="hyp_tensp" runat="server"></asp:HyperLink></font></td>
            <td style="text-align:center;border-bottom:solid 1px silver;"><asp:Literal ID="lit_giaban" runat="server"></asp:Literal></td>
            <td style="text-align:center;border-bottom:solid 1px silver;"><asp:HyperLink ID="hyp_tinhtrang" CssClass="link" runat="server"></asp:HyperLink></td>
            <td style="text-align:center;border-bottom:solid 1px silver;"><asp:Literal ID="lit_slban" runat="server"></asp:Literal></td>
            <td style="text-align:center;border-bottom:solid 1px silver;"><asp:HyperLink ID="hyp_comment" CssClass="link" runat="server" Text="Xem"></asp:HyperLink></td>
            <td style="text-align:center;border-bottom:solid 1px silver;"><asp:HyperLink ID="hyp_loinhuan" CssClass="link" runat="server"></asp:HyperLink></td>
        </tr>
    </ItemTemplate>
    <FooterTemplate>
    </table>
    </FooterTemplate>
    </asp:Repeater>
    <cc1:PagerV2_8 ID="pager" runat="server" />    
</div>
<div class="vide"></div>
</asp:Content>

